package com.example.k8s.hello.web.all;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

// 使用ComponentScan 扫描引用的jar中的spring组件
@ComponentScan(basePackages = {"com.example.k8s.hello.service"})
@SpringBootApplication
public class AllApplication {

	public static void main(String[] args) {
		SpringApplication.run(AllApplication.class, args);
	}

}